package com.mengwen.backstage.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

/**
 * @author LiangYonghui
 * @date 2020/4/19 13:35
 * @description  七牛云配置类
 */
@Configuration
@Data
public class QiniuConfig {

    /**
     * 七牛云的access_key
     */
    @Value("${qiniu.access_key}")
    private String qiniuAccessKey;


    /**
     * 七牛云的secret_key
     */
    @Value("${qiniu.secret_key}")
    private String qiniuSecretKey;





    /**
     * 七牛云的buck_name
     */
    @Value("${qiniu.buck_name}")
    private String buckName;


    /**
     * 七牛云的web_domain
     */
    @Value("${qiniu.web_domain}")
    private String webDomain;

    @Value("${qiniu.local_img_path}")
    private String localImgPath;
}
